add_subdirectory(test_bc)
add_subdirectory(new_test)
add_subdirectory(test_cell)
add_subdirectory(test_crack)
add_subdirectory(test_P52)
add_subdirectory(test_P91)
add_subdirectory(test_sif)

########################

add_executable(test_log test_log.cpp)
# link against the boost libraries
target_link_libraries(test_log
	PUBLIC
	Boost::log-mt
	Boost::log_setup-mt
	Boost::thread-mt
	Boost::date_time
	Boost::iostreams
	)
########################
add_executable(test_shp test_shape.cpp)
target_link_libraries(test_shp
	PUBLIC
	Boost::log-mt
	Boost::log_setup-mt
	Boost::thread-mt
	Boost::date_time
	Boost::iostreams
	)
if(OPENMP_FOUND)
	target_link_libraries(test_shp PUBLIC OpenMP::OpenMP_CXX)
endif()
########################

add_executable(test_tensor test_tensor.cpp)
target_link_libraries(test_tensor ${Boost_FILESYSTEM_LIBRARY}
	${Boost_SYSTEM_LIBRARY}
	${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})

########################

add_executable(test_point test_point.cpp)
# link against the boost libraries
target_link_libraries(test_point
	PUBLIC
	Boost::log-mt
	Boost::log_setup-mt
	Boost::thread-mt
	Boost::date_time
	Boost::iostreams
	)
########################
add_executable(test_plot test_plot.cpp)
# link against the boost libraries
target_link_libraries(test_plot
	PUBLIC
	Boost::log-mt
	Boost::log_setup-mt
	Boost::thread-mt
	Boost::date_time
	Boost::iostreams
	)
if(OPENMP_FOUND)
	target_link_libraries(test_plot PUBLIC OpenMP::OpenMP_CXX)
endif()
########################

add_executable(test_mesh test_mesh.cpp)
# link against the boost libraries
target_link_libraries(test_mesh
	PUBLIC
	Boost::log-mt
	Boost::log_setup-mt
	Boost::thread-mt
	Boost::date_time
	Boost::iostreams
	)
if(OPENMP_FOUND)
	target_link_libraries(test_mesh PUBLIC OpenMP::OpenMP_CXX)
endif()
########################

add_executable(test_gauss test_gauss.cpp)
# link against the boost libraries
target_link_libraries(test_gauss
	PUBLIC
	Boost::log-mt
	Boost::log_setup-mt
	Boost::thread-mt
	Boost::date_time
	Boost::iostreams
	)
if(OPENMP_FOUND)
	target_link_libraries(test_gauss PUBLIC OpenMP::OpenMP_CXX)
endif()
########################

add_executable(test_123 test_123.cpp)
